package com.yupi.project.handler;

/**
 * @Author: LiangXinRui
 * @Date: 2023/08/03/15:06
 * @Description:
 */

import com.xxl.job.core.handler.annotation.XxlJob;
import org.springframework.stereotype.Component;


@Component
public class XXLJobHandler {

    /**
     * 1、简单任务示例（Bean模式）
     */
    @XxlJob("demoJobHandler")
    public void demoJobHandler() throws Exception {
        System.out.println("hello,XXL-JOB!!!");
    }
}

